package consul.allinone.discovery;


import consul.allinone.RpcURL;

import java.util.List;

public interface SubscirbeService {

    void subscribe(String registryHost, int registryPort,String serviceName);

    List<RpcURL> listServices();
}